﻿using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.API.Write.Application.Command.User
{
    /// <summary>
    /// 添加用户信息请求命令
    /// </summary>
    public class CreateUserCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 用户名称
        /// </summary>
        public string userName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool sex { get; set; }
        /// <summary>
        /// 地区名称
        /// </summary>
        public string regionName { get; set; }
        /// <summary>
        /// 城市名称
        /// </summary>
        public string cityName { get; set; }
        /// <summary>
        /// 省级名称
        /// </summary>
        public string provinceName { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string detail_Address { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public int DepartmentId { get; set; }
    }
}
